<!DOCTYPE html>
<html data-dpr="1" style="font-size:62.5%;">
<head lang="en">
    <meta charset="UTF-8">
    <!-- 优先使用 IE 最新版本和 Chrome -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <!-- 为移动设备添加 viewport -->
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=3.0, minimum-scale=1.0, user-scalable=no">
    <!-- iOS 设备适配代码Star-->
    <!-- 添加到主屏后的标题（iOS 6 新增） -->
    <meta name="apple-mobile-web-app-title" content="UU商城">
    <!-- 是否启用 WebApp 全屏模式，删除苹果默认的工具栏和菜单栏 -->
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <!-- 设置苹果工具栏颜色 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <!-- 添加智能 App 广告条 Smart App Banner（iOS 6+ Safari） -->
    <meta name="apple-itunes-app" content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">
    <!-- 忽略页面中的数字识别为电话，忽略email识别 -->
    <meta name="format-detection" content="telephone=no"><!--电话数字样式去掉 苹果-->
    <link rel="stylesheet" href="/html/css/share.css">
    <script src="/html/js/zepto.min.js"></script>
    <title>世界聯播</title>
</head>
<body>
<div>


    <div class="top" style="padding-bottom: 70px;background: #efefef">
        <span><img style="width:60px;height:60px;" src="/html/img/logo.png"/></span>
        <span>世界聯播APP</span>
        <a href="#"><img style="width:60px;height:30px;" src="/html/img/tiyan.png"/></a>
    </div>

    <div  class="person" style="padding-bottom: 70px">
        <div class="per_l"><img style="width:62px;height:62px;" src="<?=$icon;?>"/></div>
        <div class="per_c">
            <p class="per_c_n"><?=$username;?></p>
            <p>
                <span class="per_s"><?=$signature;?></span>

            </p>
        </div>
        <div class="per_r"><img src="/html/img/dingwei.png"/><?=$region;?></div>
    </div>
    <div class="vod" style="margin-top: 10px">


        <?php if ($type == 'video/mp4' ) {?>

            <div style="margin: auto; height: 430px; width: 100%" >
                <video style="width: 100%; height: 100%; padding: 5px" id="my-video'.$model->id.'" class="video-js " x-webkit-airplay="allow" webkit-playsinline controls poster="" preload="auto" width="640" height="360" data-setup="{}" autoplay>
                    <source src="<?=$url;?>" type="<?=$type;?>">
                </video>
            </div>

        <?php } else {?>


        <?php if ($status == 0) {?>
            <div style="width: 430px; margin: auto;">
                <h1>直播已結束</h1>
            </div>
        <?php } else {?>
        <div style="margin: auto; height: 430px; width: 100%" >
            <video style="width: 100%; height: 100%;" id="my-video'.$model->id.'" class="video-js " x-webkit-airplay="allow" webkit-playsinline controls poster="" preload="auto" width="640" height="360" data-setup="{}" autoplay>
                <source src="<?=$url;?>" type="<?=$type;?>">
            </video>
        </div>
    </div>
    <?php }?>

    <?php }?>






    <div class="center">
        <div class="center_1">
            <h3 class="cent_1_t"><?=$title;?></h3>
            <p></p>
        </div>

    </div>


</div>
</body>


<script>

    $(document).ready(function(){
//        alert($(document).height()); //浏览器当前窗口文档的高度
//        alert($(document).width());//浏览器当前窗口文档对象宽度
    })

</script>


</html>












